/*
@name:yzpBlog-CSS
@time:2018-1-20
@author:yezipi
*/
*{margin: 0; padding: 0; -webkit-box-sizing: border-box; box-sizing: border-box; border: 0}
body{color: #333; font-family: Microsoft YaHei, Lantinghei SC, Open Sans, Arial, Hiragino Sans GB, STHeiti, WenQuanYi Micro Hei, SimSun, sans-serif}
input,textarea,button{font-family: inherit;outline: none}
img{border: 0; max-width: 100%; vertical-align: middle}
a{outline: 0; display: inline-block}
a, a:active, a:hover{text-decoration: none}
li{list-style: none}
table{border-spacing: 0; border-collapse: collapse}
caption, th{text-align: left; font-weight: 400}
.fl{float: left}
.fr{float: right}
.show{display: block}
.hide{display: none}
.visible{visibility: visible}
.invisible{visibility: hidden}
:focus{outline: 0}
:link, :visited{text-decoration: none}
.clearfix:after{display: block; clear: both; font-size: 0; content: ""}
.circle{border-radius: 50%;-webkit-border-radius: 50%;}

button,
input[type=button],
input[type=chekcbox],
input[type=number],
input[type=password],
input[type=radio],
input[type=reset],
input[type=submit],
input[type=tel],
input[type=text],
textarea{-webkit-appearance: none}
#tip-arrow-bottom, #tip-arrow-top, #trans-tooltip{display: none}



.bgfff{background: #fff;}
.whitebg:after{content: '';display: block;position: fixed;left: 0;right: 0;top:0;bottom: 0;width: 100%;height: 100%;background: #fff;z-index: -1;max-width: 640px;margin: auto;}
.yd-tabbar-fixed{right: 0;margin: auto;max-width: 640px;}

.pd15{padding: 0.2rem;}
.wrap{overflow: hidden;}
.w640{margin: auto;position: relative;overflow: hidden;}
.w640.home{padding-bottom: 1.01rem}
/*list*/

.art-title{
  padding:0.2rem;font-size: 0.3rem;font-weight: normal;margin-bottom: 0.1rem;background: #fff;color: #555;
  span{display: inline-block;margin: 0 0.1rem}
}


.release-content{
  padding: 0.2rem;
  padding-top: 1rem;
  .rc-txt{
    margin-bottom: 0.2rem;
    textarea{
      font-size: 0.26rem;
      width: 100%;
    }
  }

}


/*注册*/
.register{border-top:0.2rem solid #f5f5f5;padding: 0.2rem;}
.register .input-item{}
.register input{height: 0.9rem;line-height: 0.9rem;width: 100%;font-size: 0.28rem;text-indent: 0.2rem;border-bottom: 1px solid #eee;}
.register input:focus{border-bottom-color:#ff4300 }
.register .reg-btn{background: #ff6700;height: 0.9rem;text-align: center;width: 100%;margin: 0.5rem 0;color: #fff;font-size: 0.35rem;}
.register .some-tips{font-size: 0.28rem;color: #777777;text-align: right;}
.register .some-tips a{color: #009cff}

.loadMore{display: block;padding: 0.2rem;text-align: center;font-size: 0.28rem;color: #ff6700;}


.yd-actionsheet a:nth-of-type(2):after{display: none;}
.upload-content{
  background: #fff;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  display: -webkit-flex;
  -webkit-justify-content: flex-start;
  -webkit-flex-wrap: wrap;
  margin-right: -0.25rem;
  overflow: hidden;
  padding-bottom: 0;

}
.upload-item{position: relative;width: 1.15rem;height: 1.15rem;margin-right: 0.25rem;margin-bottom: 0.35rem;float: left;}
.upload-item img{width: 100%;height: 100%;}
.delete_img{display:block;position:absolute;top:-0.15rem;right:-0.15rem;width: 0.4rem;height: 0.4rem;background:#fff url("../images/delete.png") no-repeat center;background-size: 100%;border-radius: 50%;-webkit-border-radius: 50%;}
.upload-button{position: relative;width: 1.15rem;height: 1.15rem;overflow: hidden;margin-bottom: 0.35rem;}
.upload-button img{width: 100%;height: 100%;position: relative;z-index: 1;}
.upload-button input[type='file']{position: absolute;left: 0;top:0;width: 100%;height: 100%;z-index: 2;opacity: 0;}

.user-page{
  .art-list{
    padding-top: 0.2rem!important;
  }
}
.donggu{
  &:after{
    content: '';
    position: fixed;
    width: 100%;
    height: 100%;
    top:0;right: 0;bottom: 0;left: 0;margin: auto;

    filter: blur(10px);
    background: url("../images/dgbg.jpg") no-repeat top center;
    background-size: cover;
    z-index: -1;
    opacity: 0.5;
    transform: scale(1.1);
  }
  .dg-login-title{
    color: #fff;
    font-size: 0.5rem;
    text-align: center;
    padding: 1.4rem 0;
    text-shadow: 1px 1px 1px #999;
  }
  .register{
    border-top:0;
    padding: 0 0.6rem;
    .input-item{
      margin-bottom: 0.5rem;
      overflow: hidden;
      position: relative;
      &:before{
        content: '';
        display: block;
        width: 0.4rem;
        height: 0.4rem;
        position: absolute;
        left: 0.4rem;
        top:0;
        bottom: 0;
        margin: auto;
        background: url("../images/account.png") no-repeat center;
        background-size: 100%;
      }
      &:nth-of-type(2):before{
        background: url("../images/pwd.png") no-repeat center;
        background-size: 100%;
      }
      input{
        border:1px solid rgba(255,255,255,0) ;
        text-indent:1.2rem;
        background: rgba(255,255,255,0.5);
        box-sizing: border-box;
        border-radius: 0.5rem;
        &:focus{
          border-color:#fff;
          background: rgba(255,255,255,0.8);
        }
      }
    }
    .reg-btn{
      margin-top: 0;
      border-radius: 0.5rem;
      background: rgba(12, 160, 245,0.7);
      &:focus{
        border-color:#fff;
        background: rgba(12, 160, 245,1);
      }
    }
  }

}
.dg-add{
  .cover-img{
    width: 100%;
  }
  #uploadCover{
    input{
      position: absolute;right: 0.2rem;top:0;bottom: 0;margin: auto;width: 1.44rem;height: 0.6rem;opacity: 0;z-index: 1
    }
  }
  textarea{
    padding: 0.24rem;
    font-size: 0.24rem;
    color: #555;
    height: 2rem;
    width: 100%;
  }
  .upload-content{overflow: initial}
}
.dg-list {
  .delete-btns {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0.4rem;
    height: 0.4rem;
    img {
      width: 100%;
      height: 0.4rem
    }
  }
  .item-titles{
    display: block;
    padding-right: 0.8rem;
  }
}
.yd-list-theme4{padding: 0 0.3rem!important;}
.yd-list-img{padding: 0!important;height: 1.8rem!important;width: 2.4rem!important;}
.yd-list-img img{height: 1.8rem!important;margin-top: 0!important;}
.yd-list-theme4 .yd-list-item{padding: .3rem 0!important;}
.yd-list-theme4 .yd-list-item .yd-list-mes{padding-left: 0.3rem!important;}
.yd-list-theme4 .yd-list-item .yd-list-title{
  max-height: none;height: 100%;
  &>div{
    height: 100%;
  }
  a{
    display: block;
    height: 100%;
  }
}
.yd-cell-title{padding: 0.2rem!important;}
.dg-select{
  padding-top: 0.3rem;
  &>div{
    background: rgba(13,182,224,0.5);
    overflow: hidden;
    margin: 0.5rem;
    text-align: center;
    height: 2rem;
    line-height: 2rem;
    box-shadow: 0 0 0.4rem #666;
    &:nth-of-type(2){
      background: rgba(224,127,13,0.5);
    }
    &:nth-of-type(3){
      background: rgba(124,217,13,0.5);
    }
    a{
      display: block;
      width: 100%;
      font-size: 0.36rem;color: #fff;
    }
    &:hover{
      opacity: 0.5;
    }
  }
}
.list-addbtn{
  position: fixed;
  width: 1rem;height: 1rem;
  border-radius: 50%;
  background: #0ca0f5;
  color: #fff;
  text-align: center;
  line-height: 1rem;
  font-size: 0.28rem;
  right: 0.5rem;bottom: 0.5rem;
  box-shadow: 3px 5px 5px #bbb;
}
.commentlist .yd-list-img{
width: 1.5rem!important;height: 1.5rem!important;
}
.commentlist .yd-list-mes{
  padding-right: 0.5rem;
}
.commentlist .cm-content{
  color: #000;
  font-size: 0.28rem;
  font-weight: normal;
  margin: 0.15rem 0;
}
.commentlist .cm-time{
  color: #bbb;
  font-size: 0.28rem;
  font-weight: normal;
}
